package com.CST.entity.ys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;


/**
 * @author chengwen
 */
@Getter
@Setter
@TableName("YS_ETL_RECORDS")
public class YsCollectionRecord{
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "操作时间")
    @TableField("OPER_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime operTime;

    @ApiModelProperty(value = "采集月份")
    @TableField("COLLECTION_MONTH")
    private String collectionMonth;

    @ApiModelProperty(value = "采集状态")
    @TableField("COLLECTION_STATE")
    private int collectionState;

    @ApiModelProperty(value = "操作人")
    @TableField("OPER_PERSON")
    private String operPerson;

    @ApiModelProperty(value = "采集类型")
    @TableField("TYPE")
    private Integer type;
}
